<HTML><HEAD><TITLE>nonground(?VarTerm)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">Type Testing</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>nonground(?VarTerm)</H1>
Succeeds if VarTerm is not ground.


<DL>
<DT><EM>VarTerm</EM></DT>
<DD>Prolog term.
</DD>
</DL>
<H2>Description</H2>
   Used to test whether VarTerm is not ground i.e.  contains at least one
   free variable.

<P>

<H3>Modes and Determinism</H3><UL>
<LI>nonground(?) is semidet
</UL>
<H3>Fail Conditions</H3>
Fails if VarTerm is ground
<H2>Examples</H2>
<PRE>
   Success:
   nonground(VarTerm).
   nonground(f(a,B,c)).
   nonground([x,y|Z]).
   Fail:
   nonground(atom).
   nonground(likes(man,woman)).



</PRE>
<H2>See Also</H2>
<A HREF="../../kernel/typetest/nonvar-1.html">nonvar / 1</A>, <A HREF="../../kernel/typetest/ground-1.html">ground / 1</A>, <A HREF="../../kernel/typetest/nonground-2.html">nonground / 2</A>, <A HREF="../../kernel/typetest/nonground-3.html">nonground / 3</A>, <A HREF="../../kernel/typetest/type_of-2.html">type_of / 2</A>, <A HREF="../../kernel/typetest/var-1.html">var / 1</A>
</BODY></HTML>
